<template>
  <div class="md-user-product-info">
    <div class="r-title">
      <span>Apply Product Info</span>
    </div>
    <div class="user-info-main">
      <div class="content">
        <div class="order_header">
          <div class="order_header_1">产品详情</div>
          <div class="order_header_2">
            <span>应付总金额</span>
            <span>实付金额</span>
            <span>产品状态</span>
            <span>operate</span>
          </div>
        </div>
        <div class="item">
          <div class="item_top"><span>2023-12-12</span>订单编号：23121214ldqo18k</div>
          <div class="main">
            <div class="main_left">
              <dl>
                <dt><img src="https://pic1.zhimg.com/80/v2-2606558a3236c8a4a8bb75eee2c99374_1440w.webp" alt=""></dt>
                <dd>
                  <div>鸿蒙4.0面试通项目课</div>
                  <div>课程有效期：长期有效</div>
                </dd>
              </dl>
              <div class="left_1">
                <span>¥0.00</span>
                <span>¥0.00</span>
                <span><i></i>已完成</span>
              </div>
            </div>
            <!-- <div class="main_right">
              <el-button plain>查看详情</el-button>
            </div> -->
          </div>
        </div>
        </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'MDOrderBaseInfo',
  layout: 'dynamic',
  data () {
    return {
      tabsData: [
        {
          label: '全部',
          value: 1
        },
        {
          label: '待支付',
          value: 2
        },
        {
          label: '已关闭',
          value: 3
        }
      ],
      applyListInfo: []
    }
  },
  mounted () {
    // this.getApplyInfo()
  },
  methods: {
    // async getApplyInfo () {
    //   const options = {
    //     userId: this.$local.getItem('user').userId,
    //     pageIndex: 1,
    //     pageSize: 100
    //   }
    //   const res = await this.$axios.post('web/productApply/listPage', options)
    //   if (res.code == 200) {
    //     this.applyListInfo = res.data.items
    //   }
    // }
  }
}
</script>
<style lang="scss" scoped>
.md-user-product-info {
  width: 100%;
  .r-title {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #ededed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #414141;
    padding-right: 20px;
    box-sizing: border-box;
    span {
      font-weight: 100;
      font-size: 24px;
      line-height: 40px;
      border-bottom: 1px solid $md-primary-color;
    }
  }
  .user-info-main {
    margin-top: 20px;
    .content {
      margin-top: 20px;
      .order_header {
        height: 40px;
        background: #f4f6f9;
        font-size: 16px;
        color: #1d2129;
        line-height: 22px;
        padding: 9px 19px;
        display: flex;
        .order_header_1 {
          margin-right: 230px;
        }
        .order_header_2 {
          span {
            margin-left: 70px;
          }
        }
      }
      .item {
        cursor: pointer;
        border: 1px solid #e5e6eb;
        margin-top: 15px;
        .item_top {
          background: #f4f6f9;
          font-size: 14px;
          color: #86909c;
          line-height: 30px;
          padding-left: 19px;
          span {
            margin-right: 13px;
          }
        }
        .main {
          padding: 14px 19px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .main_left {
            display: flex;
            align-items: center;
            dl {
              display: flex;
              dt {
                img {
                  width: 157px;
                  height: 80px;
                  border-radius: 4px;
                }
                margin-right: 16px;
              }
              dd {
                div {
                  &:first-child {
                    font-size: 16px;
                    color: #1d2129;
                    line-height: 22px;
                    margin-top: 10px;
                  }
                  &:last-child {
                    font-size: 14px;
                    color: #86909c;
                    line-height: 20px;
                    margin-top: 12px;
                  }
                }
              }
            }
            .left_1 {
              margin-left: 43px;
              font-size: 14px;
              line-height: 20px;
              span {
                &:first-child {
                  color: #1d2129;
                }
                &:nth-child(2) {
                  color: #ff7376;
                  margin-left: 112px;
                }
                &:last-child {
                  margin-left: 96px;
                  color: #1d2129;
                  i {
                    width: 8px;
                    height: 8px;
                    background: #4cb052;
                    display: inline-block;
                    border-radius: 50%;
                    margin-right: 4px;
                  }
                }
              }
            }
          }
          .main_right {
            .el-button {
              border: 1px solid #2470dc;
              color: #2470dc;
            }
          }
        }
      }
    }
  }
}
</style>